home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1996 #6 / Amiga Plus CD - 1996 - No. 06.iso / pd / texte / texfontinst / contrib / helminck / caslonmt.sty < prev    next >
Text File  |  1996-07-30  |  4KB  |  111 lines

  1. %%% This is file `caslonmt.sty', version <1.0b> 
  2. %%% 
  3. %%% Copyright (C) 1994 Aloysius G. Helminck. All rights reserved. 
  4. %%% Permission is granted to to customize the declarations in this 
  5. %%% file to serve the needs of your installation. However, no permission
  6. %%% is granted to distribute a modified version of this file under 
  7. %%% its original name. 
  8. %%%
  9. %%% This style file redefines the math symbols to: zacmtmr, zacmtmi, zacmtsy
  10. %%% and mtex. These fonts essentially are a combination of Adobe Caslon and
  11. %%% Mathtime fonts and are remapped to get fonts with the same
  12. %%% character tables as the cm-math fonts. 
  13. %%%  
  14.  
  15. \NeedsTeXFormat{LaTeX2e}
  16. \ProvidesPackage{caslonmt}[1994/04/29 Adobe Caslon + Mathtime math fonts]
  17.  
  18. % The default family is Adobe Caslon. 
  19.  
  20. \renewcommand{\rmdefault}{pac}
  21. \def\bfdefault{sb}
  22.  
  23. % The math fonts are the zacmtm fonts.
  24.  
  25. \DeclareSymbolFont{operators}   {OT1}{zacmtt}{m}{n}
  26. \DeclareSymbolFont{letters}     {OML}{zacmtt}{m}{it}
  27. \DeclareSymbolFont{symbols}     {OMS}{zacmtt}{m}{n}
  28. \DeclareSymbolFont{largesymbols}{OMX}{mtt}{m}{n}
  29. %\DeclareSymbolFont{bold}        {OT1}{pac}{\bfdefault}{n}
  30. %\DeclareSymbolFont{italic}      {OT1}{pac}{m}{it}
  31. \SetMathAlphabet{\mathbf}{normal}{\encodingdefault}{\rmdefault}{\bfdefault}{n}%
  32. \SetMathAlphabet{\mathsf}{normal}{\encodingdefault}{\sfdefault}{m}{n}%
  33. \SetMathAlphabet{\mathrm}{normal}{\encodingdefault}{\rmdefault}{m}{n}%
  34.  
  35. % Bold math from the CM fonts.
  36. %
  37. %\SetSymbolFont{operators}{bold}{OT1}{crm}{bx}{n}
  38. %\SetSymbolFont{letters}{bold}{OML}{cmm}{b}{it}
  39. %\SetSymbolFont{symbols}{bold}{OMS}{cmsy}{b}{n}
  40. %\SetSymbolFont{largesymbols}{bold}{OMX}{mtt}{m}{n}
  41. %\SetMathAlphabet{\mathbf}{bold}{\encodingdefault}{\rmdefault}{m}{n}%
  42. %\SetMathAlphabet{\mathsf}{bold}{\encodingdefault}{\sfdefault}{b}{n}%
  43. %\SetMathAlphabet{\mathrm}{bold}{\encodingdefault}{\rmdefault}{b}{n}%
  44. %
  45.  
  46. % Or bold math from Caslon
  47.  
  48. \SetSymbolFont{operators}{bold}{OT1}{zacmtt}{b}{n}
  49. \SetSymbolFont{letters}{bold}{OML}{zacmtt}{b}{it}
  50. \SetSymbolFont{symbols}{bold}{OMS}{zacmtt}{b}{n}
  51. \SetSymbolFont{largesymbols}{bold}{OMX}{mtt}{m}{n}
  52. \SetMathAlphabet{\mathbf}{bold}{\encodingdefault}{\rmdefault}{m}{n}%
  53. \SetMathAlphabet{\mathsf}{bold}{\encodingdefault}{\sfdefault}{b}{n}%
  54. \SetMathAlphabet{\mathrm}{bold}{\encodingdefault}{\rmdefault}{b}{n}%
  55.  
  56.  
  57. % An \omicron command, to fill the gap.
  58.  
  59. \DeclareMathSymbol{\omicron}{0}{operators}{`\o}
  60.  
  61. % Two extra symbols from the mathtime family:
  62.  
  63. \DeclareMathSymbol{\varkappa}{0}{letters}{"80}
  64. \DeclareMathSymbol{\comp}{2}{letters}{"81}
  65.  
  66. \def\hbar{{\mathchar'26\mkern-6.7muh}}
  67. \def\angle{{\vbox{\ialign{$\m@th\scriptstyle##$\crcr
  68.      \not\mathrel{\mkern14mu}\crcr
  69.      \noalign{\nointerlineskip}
  70.      \mkern2.5mu\leaders\hrule height.34pt\hfill\mkern2.5mu\crcr}}}}
  71.  
  72. % Reduce the space around math operators
  73.  
  74. \thinmuskip=2.5mu
  75. \medmuskip=3.5mu plus 1mu minus 1mu
  76. \thickmuskip=4.5mu plus 1.5mu minus 1mu
  77.  
  78. % If you do not want boldmath, then uncomment the
  79. % following. 
  80.  
  81. % \def\boldmath{%
  82. %    \@warning{there is no bold Symbol font}%
  83. %    \global\let\boldmath=\relax
  84. % }
  85.  
  86. %%
  87. %%  \matrix can be defined similar as for AMSLaTeX:
  88. %%
  89. %
  90. %\newcount\c@MaxMatrixCols
  91. %\c@MaxMatrixCols=10
  92. %\def\matrix{\hskip -\arraycolsep\array{*\c@MaxMatrixCols c}}
  93. %\def\endmatrix{\endarray \hskip -\arraycolsep}
  94. %
  95.  
  96. %%
  97. %% If you use Textures fonts for your Roman family, then you need to
  98. %% redefine the \AA macro for Plain and LaTeX. The macro depend on the
  99. %% size of the box for the CM ring character to be much wider than
  100. %% just the width of the ring. The times-roman (or other postcript)
  101. %% character is quite small and will offset the ring far to the left. 
  102. %% We adjust the size of the box for the ring to be placed in so that
  103. %% it works "reasonably well" for roman, italic, and bold
  104. %% versions. Uncomment the next two lines if you need this correction. 
  105. %\def\AA{\leavevmode\setbox0\hbox{A}\dimen@\ht0\advance\dimen@-0.85ex%
  106. %  \rlap{\raise.67\dimen@\hbox to \wd0{\hss\char'27\hss}}A}
  107.  
  108. \endinput
  109.  
  110.  
  111.